package com.example._01helloword;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Repository;

//@SpringBootApplication   汇总了以下几个注解
//@ComponentScan组件扫描，扫描Application类所在的包及下面的子包中的类  @Component  @Controller  @Servet  @Respit
//EnableAutoConfiguration  开启自动配置  用户可以用自己的配置进行覆盖
//@Configuration    程序中使用一些注解进行配置bean实现了applicationContext.xml文件的角色

@SpringBootApplication//自动配置、组件扫描等
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
